home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / yamp16.zip / MAKETEST.MAK < prev    next >
Makefile  |  1992-08-22  |  1KB  |  79 lines

  1. #
  2. # Make file for BCC. Make sure to correct the definitions for
  3. # your machine.
  4. #
  5. # This makefile constructs the test files using the
  6. # large memory model, debug info on, no fast floating point,
  7. # and all other defaults, ie emulation, and standard
  8. # optimizations. 
  9.  
  10. # Note that virtlib.lib must be constructed first. See to_lib.mak
  11.  
  12. .AUTODEPEND
  13.  
  14. # directory definitions
  15. CURDIR = C:\MATH\MATPP
  16. LIBDIR = C:\TC\LIB
  17. INCDIR = C:\TC\INCLUDE
  18.  
  19. .PATH.obj = $(CURDIR)
  20.  
  21. #        *Translator Definitions*
  22.  
  23. CC = bcc +maketest.cfg
  24. TLINK = tlink
  25.  
  26. #        *Implicit Rules*
  27. .cpp.obj:
  28.   $(CC) -c {$< }
  29.  
  30. #        *List Macros*
  31.  
  32. EXE_dependencies =  testreg.obj test.obj testgraf.obj disttest.obj
  33. EXES = test.exe testreg.exe testgraf.exe disttest.exe
  34.  
  35. all: maketest.cfg maketest.mak $(EXE_dependencies) $(EXES)
  36.      del maketest.cfg
  37.  
  38. #        *Explicit Rules*
  39. $(EXES): maketest.cfg $(EXE_dependencies) 
  40.   $(TLINK) /v/x/c/P-/L$(LIBDIR);$(CURDIR) @&&|
  41. c0l.obj+
  42. $&
  43. $&
  44.  
  45. virtlib.lib+
  46. emu.lib+
  47. mathl.lib+
  48. cl.lib+
  49. graphics.lib
  50. |
  51.  
  52.  
  53. #        *Individual File Dependencies*
  54. test.obj: test.cpp
  55.  
  56. testreg.obj: testreg.cpp 
  57.  
  58. testgraf.obj: testgraf.cpp
  59.  
  60. disttest.obj: disttest.cpp
  61.  
  62. #        *Compiler Configuration File*
  63. # change -DVIRTGRAF to -DVIRTGRAF;IN_RAM for in ram version
  64. # make sure to build the library with the same defines
  65.  
  66. maketest.cfg: maketest.mak
  67.   copy &&|
  68. -ml
  69. -v
  70. -ff-
  71. -n$(CURDIR)
  72. -I$(INCDIR)
  73. -L$(LIBDIR);$(CURDIR)
  74. -DVIRTGRAF
  75. | maketest.cfg
  76.  
  77.  
  78.  
  79.